package com.aiti.lulian.entity;

import com.aiti.base.core.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("card_cluster_rich_text")
public class CardClusterRichText extends BaseEntity {

    /** 主键 */
    @TableId(value = "base_id",type = IdType.UUID)
    private String baseId;

    /**
     * 标题
     */
    private String title;

    /**
     * 文本内容
     */
    private String content;

    /**创建时间**/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;

    /**更新时间**/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "base_update_time", fill = FieldFill.INSERT_UPDATE)
    private Date baseUpdateTime;

    /**集群ID**/
    private String clusterId;

    /**排序**/
    private String sort;
}
